package com.yt.server.api.action;

import com.yt.server.api.IScope;
import com.yt.server.messaging.Packet;

public interface IActionProxy {

	IActionCall getActionCall(String id);

	String getActionName(String id);

	IScope getActionScope(String id);

	String getNamespace(String id);

	String getMethod(String id);

	boolean isMethodSpecified();

	IActionCall handlePacket(Packet packet, IActionCallback callback);

	IActionCall handlePacket(Packet packet);

	Packet handleActionCall(IActionCall call);

	Packet createPacket(Object object);

	IActionCall createCall(Object object);
}
